package com.djinfo.work.dao;


import com.djinfo.work.entity.QsResultEntity;

import java.util.List;
import java.util.Objects;

/**
 * @date 2017-06-08 10:48:16
 */
public interface QsResultDao{
    public void save(QsResultEntity qsResultEntity);
    public void update(QsResultEntity qsResultEntity);
    public QsResultEntity selectOne(String id);
    public void delete(String id);
    public List<QsResultEntity> page(QsResultEntity object, Integer pageNum, Integer pageSize);
    public Integer getRowCount(QsResultEntity object);
    public List<QsResultEntity> getList(String hql,String uid,String contentId);
    public void deleteResultByUserIdAndQuestionId(String hql,Object... objects);
    public List<QsResultEntity> getQsResultListByQsId(String hql);
}
